var data;
$(document).ready(function(){
	$(".turnback a").attr("href","selveComInfo.html");
	$("#addCom").click(function(){
		var comLogo=document.all.Dir.value;
		var comName=$("#comName").val();
		var comType=$("#comType").val();
		var ciomCount=$("#comCount").val();
		var comIndustry=$("#comIndustry").val();
		var phones=$("#phones").val();
		var email=$("#email").val();
		var addr=$("#addr").val();
		var urls=$("#urls").val();
		var comIntroduce=$("#comIntroduce").val();
		/*alert(comLogo+" "+comName+" "+comType+" "+ciomCount+" "+comIndustry+" "+phones+" "+email+" "+addr+" "+urls+" "+comIntroduce);*/
		var Post ="mid="+basedata.mid+"&groupid="+basedata.groupid+"&token="+basedata.token+"&did="+commondata.commonaddrbook+
		"comlogo"+comLogo+"comname="+comName+
		"comproperty="+comType+"comscale="+ciomCount+"comindustry="+comIndustry+"comtellphone="+phones+"comemail="+email+
		"comaddress="+addr+"comurl="+urls+"comment="+comIntroduce+commondata.commonaddrbook;
		$.ajax({
	    	url:'../../api/account/addmycompanyinfo',
	    	type:'post',
	    	data:Post,
	    	success:function(msg){
	    		console.log(1);
	    	}
	    });
	});	
});